﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SalesModel;

namespace SalesController
{
    public interface DAOProduct
    {
        void add(Product p);
        void update(Product p);
        void delete(int productId);
        List<Product> queryAll();
        Product queryById(int productId);
        int count();
    }
}
